#pragma once

#include <SFML/Graphics.hpp>
#include <vector>

using namespace std;

class seBleedingParticle
{	
private:
	static sf::Image	mImage;

	vector<sf::Sprite>	mParticles;
	float				mTimer;
	sf::Vector2f		mPosition;
	bool				mStopBleeding;
	bool				mPlugged;
	float				mBleedingFreq;
	float				mScale;

public:
	seBleedingParticle();
	~seBleedingParticle(){};
	
	static void Load();
	static void Unload();
	void Init();
	void Step();
	void Draw();

	void SetPosition(sf::Vector2f position);
	void SetStopBleeding(bool stopBleeding);
	void SetPlugged(bool plugged);

	void RefreshFrequency();
	void ChangeScale();
};
